//package com.zhaopin.test;
////
////import com.zhaopin.analyzer.api.AnalyzerInter;
////import com.zhaopin.analyzer.thread.AnalyzerFactory;
////import com.zhaopin.analyzer.util.AnalyzerFactoryUtils;
////import com.zhaopin.bean.RankingWord;
////import com.zhaopin.dic.DicTextUtils;
////import com.zhaopin.utils.ExcelUtils;
////import com.zhaopin.bean.FeatureExcel;
////import org.apache.commons.io.FileUtils;
//
//import com.alibaba.fastjson.JSON;
//import com.alibaba.fastjson.JSONArray;
//import com.alibaba.fastjson.JSONObject;
//import com.zhaopin.bean.StuClass;
//import com.zhaopin.bean.Student;
//import org.apache.commons.io.FileUtils;
//import org.apache.commons.lang3.StringUtils;
//import org.apache.poi.ss.formula.functions.T;
//import org.junit.Test;
//
//import java.io.File;
//import java.io.IOException;
//import java.nio.charset.StandardCharsets;
//import java.time.Instant;
//import java.time.LocalDate;
//import java.time.format.DateTimeFormatter;
//import java.time.temporal.ChronoUnit;
//import java.util.*;
//import java.util.stream.Collectors;
////
////import java.io.File;
////import java.io.IOException;
////import java.util.HashSet;
////import java.util.List;
////import java.util.Set;
//
///**
// * @author Administrator
// * @create 2019-07-09 15:40
// */
//public class JunitTestHome {
//
//
//    @Test
//    public void testMultParma() {
//        testOutStr("1", "2", "3");
//    }
//
//    public void testOutStr(String... param) {
//        for (int i = 0; i < param.length; i++) {
//            System.out.println(param[i]);
//        }
//    }
//
//
////    /**
////
////
////    /**
////     * 插入词典方法 之前5561 行,某个洗数据方法
////     *
////     * @throws IOException
////     */
////    @Test
////    public void readeTExt() throws IOException {
//
////
////        List<String> extList = FileUtils.readLines(new File("E:\\zhaopin_doc\\李世明\\washedCvSkills.tsv"), "utf-8");
////        Set<String> set = new HashSet<String>();
////        for (String s : extList) {
//////            System.out.println(s);
////            String[] ss = s.replace("，", " ")
////                    .replace("、", " ")
////                    .replace(",", " ")
////                    .replace("/", " ")
////                    .replace("／", " ")
////                    .split("\t");
////            String usedS = ss[0];
////            String[] my = usedS.split(" ");
////            for (String s1 : my) {
////                if (!s1.trim().equals("")) {
////                    set.add(s1);
////                }
////            }
////        }
////
////        StringBuilder stringBuilder = new StringBuilder();
////        int i = 0;
////        for (String s : set) {
////            i++;
//////            System.out.println(s);
////            stringBuilder.append(s + ";");
////        }
////        System.out.println(stringBuilder.toString());
////    }
////
////
////    @Test
////    public void testIk() throws Exception {
////        AnalyzerFactory analyzerFactory = AnalyzerFactoryUtils.getAnalyzerFactory("company");
////        AnalyzerInter analyzerInter = analyzerFactory.borrowObject();
////        List<String> list = analyzerInter.getWordList("航维骨科");
////        analyzerFactory.returnObject(analyzerInter);
////        for (String s : list) {
////            System.out.print(s);
////            System.out.print(" ");
////        }
////        System.out.println();
////
////        AnalyzerFactory analyzerFactoryIk = AnalyzerFactoryUtils.getAnalyzerFactory();
////        AnalyzerInter analyzerInterIk = analyzerFactoryIk.borrowObject();
////        List<String> listIk= analyzerInterIk.getWordList("航维骨科");
////        analyzerFactoryIk.returnObject(analyzerInterIk);
////        for (String s : listIk) {
////            System.out.print(s);
////            System.out.print(" ");
////        }
////        System.out.println();
////
////
////
////    }
//
//    @Test
//    public void test111() {
//
//        String str1 = "wantDoSecondJob+wantDoThirdJobName+wantDoReThirdJobName+wantDoThirdJobLevel";
//        String str2 = "+strongCanDoSecondJob+strongCanDoJobName";
//        String str3 = "+weakCanDoSecondAndSecondJob+weakCanDoReThirdJobName+weakCanDoReJobName+weakCanDoReJobNameFunc+weakCanDoJobName+weakCanDoThirdJobName";
//        String str4 = "+uncertainCanDoSecondAndThirdJob+uncertainCanDoJobName";
//        String[] strAttr = (str1 + str2 + str3 + str4).split("\\+");
//        for (int i = 0; i < strAttr.length; i++) {
//
////            "canDoSecondJob": feature("canDoSecondJob", canDoSecondJob()),
//            String s = strAttr[i];
//            String str = "\"" + s + "\": " + "feature(\"" + s + "\", " + s + "()),";
//            System.out.println(str);
//        }
//    }
//
//    @Test
//    public void test2222() throws IOException {
//
//        List<String> list = FileUtils.readLines(new File("/Users/ade/Downloads/tmp/通用弱技能.txt"), "utf-8");
//        for (String s : list) {
//            String[] strAttr = s.split("\t");
//            System.out.println(strAttr[1] + "\t" + strAttr[0] + "\t" + strAttr[3] + "\t" + strAttr[2] + "\t" + strAttr[5] + "\t" + strAttr[4]);
////            if(strAttr[7].equals("白领")){
////                if(strAttr[6].equals("通用弱技能")){
//////                    System.out.println(strAttr[0]+"\t"+strAttr[1]+"\t"+strAttr[2]+"\t"+strAttr[3]+"\t"+strAttr[4]+"\t"+strAttr[5]+"\t"+"weak"+"\t"+0);
////                }else if(strAttr[6].equals("通用强技能")){
//////                    System.out.println(strAttr[0]+"\t"+strAttr[1]+"\t"+strAttr[2]+"\t"+strAttr[3]+"\t"+strAttr[4]+"\t"+strAttr[5]+"\t"+"strong"+"\t"+0);
////                    System.out.print(strAttr[4]+" ");
////                }
////            }else{
////                if(strAttr[6].equals("通用弱技能")){
//////                    System.out.println(strAttr[0]+"\t"+strAttr[1]+"\t"+strAttr[2]+"\t"+strAttr[3]+"\t"+strAttr[4]+"\t"+strAttr[5]+"\t"+"weak"+"\t"+1);
////                }else if(strAttr[6].equals("通用强技能")){
//////                    System.out.println(strAttr[0]+"\t"+strAttr[1]+"\t"+strAttr[2]+"\t"+strAttr[3]+"\t"+strAttr[4]+"\t"+strAttr[5]+"\t"+"strong"+"\t"+1);
////                }
////
////            }
//        }
//
//    }
//
//
//    @Test
//    public void test3333() {
//        Calendar cal = Calendar.getInstance();
////        cal.add(Calendar.YEAR,-5);
//        int year = cal.get(Calendar.YEAR);
//        int month = cal.get(Calendar.MONTH) + 1;
//        String monthStr = String.valueOf(month);
//        if (month < 10) {
//            monthStr = "0" + monthStr;
//        }
//        String workYear = String.valueOf(year) + monthStr;
//        System.out.println(workYear);
//    }
//
//
//    @Test
//    public void test212() {
//        try {
//            String str = FileUtils.readFileToString(new File("/Users/ade/Downloads/tmp/老的.json"), "utf-8");
//            JSONArray jsonArray = JSON.parseArray(str);
//            for (Object o : jsonArray) {
//                JSONObject jsonObject = (JSONObject) o;
//                String name = jsonObject.getString("name");
//                if (name.startsWith("uncertain")) {
//                    System.out.println(jsonObject.toJSONString());
//                }
//
//
//            }
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//
//    }
//
//
//    /**
//     * 924to研发2.0
//     */
//    @Test
//    public void test22222() throws IOException {
//
//        List<String> list = FileUtils.readLines(new File("/Users/ade/Downloads/tmp/1.txt"), "utf-8");
//
//        for (int i = 0; i < list.size(); i++) {
//            String str = list.get(i);
//
//            String[] strAttr = str.split("\t");
//
//            if (strAttr[7].equalsIgnoreCase("蓝领")) {
//
//                strAttr[7] = "2";
//            } else {
//                if (i != 0) {
//                    strAttr[7] = "1";
//                }
//
//            }
//            String s = strAttr[0] + "\t" + strAttr[1] + "\t" + strAttr[2] + "\t" + strAttr[3] + "\t" + strAttr[4] + "\t" + strAttr[5] + "\t" + strAttr[7] + "\t"
//                    + strAttr[8] + "\t"
//                    + strAttr[9] + "\t"
//                    + strAttr[10];
//            System.out.println(s);
//
//        }
//
//
//    }
//
//    /**
//     * 新版【三级职类全量】表-【技能+四级+蓝白+年龄敏感】 - 9.24
//     * <p>
//     * || 新版【通用弱】职类全量表（四级+蓝白）-9.24
//     *
//     * @throws IOException
//     */
//    @Test
//    public void test33333() throws IOException {
//
//        List<String> list = FileUtils.readLines(new File("/Users/ade/Downloads/tmp/1.txt"), "utf-8");
//
//        for (int i = 0; i < list.size(); i++) {
//            String str = list.get(i);
//
//            String[] strAttr = str.split("\t");
//
//            if (strAttr[9].equalsIgnoreCase("蓝领")) {
//
//                strAttr[9] = "2";
//            } else {
//                if (i != 0) {
//                    strAttr[9] = "1";
//                }
//
//            }
//
//            String s = "";
//            s = strAttr[0] + "\t" + strAttr[1] + "\t" + strAttr[2] + "\t" + strAttr[3] + "\t" + strAttr[4] + "\t" + strAttr[5] + "\t" + strAttr[6] + "\t" + strAttr[7] + "\t" + strAttr[9];
//            System.out.println(s);
//
//        }
//
//
//    }
//
//
//    @Test
//    public void test12123() {
//        LocalDate date = LocalDate.now();
//        int twoYears = -2;
//        LocalDate towYearsAgo = date.plus(twoYears, ChronoUnit.YEARS);
//        String towAgo = towYearsAgo.getYear() + "" + date.getMonthValue();
//        System.out.println(Integer.parseInt(towAgo));
//
//    }
//
//    @Test
//    public void testdate() {
//        Map map = new HashMap();
//
//        long l = 1604484542L;
//        long epochMilli = Calendar.getInstance().getTimeInMillis();
//        System.out.println(epochMilli);
//        Instant instant = Instant.ofEpochSecond(l);
//        System.out.println(DateTimeFormatter.ISO_INSTANT.format(instant));
//
//    }
//
//
//    @Test
//    public void testFile1111() throws IOException {
//        String string = FileUtils.readFileToString(new File("/Users/ade/Documents/zhaopin/python/experiment/config-resume_recommend-resume_talents-DesignClassPost-design-position-v1.0/project/src/main/java/rules/v1.0.json"), "utf-8");
//
//        JSONArray jsonArray = JSON.parseArray(string);
//        JSONObject jsonObject = jsonArray.getJSONObject(0);
//
//        //rule
////       JSONArray jsonArray1 = jsonObject.getJSONArray("rule");
////       int i = 0;
////        for (Object o : jsonArray1) {
////            JSONObject jsonObject1 = (JSONObject) o;
////            String id = jsonObject1.getString("id");
////            String desc = jsonObject1.getString("desc");
////            String name = jsonObject1.getString("name");
////            if(i == 0){
////                JSONArray param = jsonObject1.getJSONArray("param");
////                System.out.println(id+"\t"+desc+"\t"+name+"\t"+param.toJSONString());
////            }else {
////                JSONObject param = jsonObject1.getJSONObject("param");
////                System.out.println(id+"\t"+desc+"\t"+name+"\t"+param.toJSONString());
////            }
////            i++;
////        }
//
//        //rule 排序
////        JSONArray jsonArray1 = jsonObject.getJSONArray("rule");
////        TreeMap<String, String> treeMap = new TreeMap<String, String>();
////
////        for (Object o : jsonArray1) {
////            JSONObject jsonObject1 = (JSONObject) o;
////            String id = jsonObject1.getString("id");
////            String value  = jsonObject1.toJSONString();
////            treeMap.put(id,value);
////        }
////        StringBuilder stringBuilder = new StringBuilder();
////
////        for (Map.Entry<String, String> stringStringEntry : treeMap.entrySet()) {
////            stringBuilder.append(stringStringEntry.getValue() + ",");
////        }
////
////        System.out.println(stringBuilder.toString());
//
//        //strategy
//        JSONArray jsonArray2 = jsonObject.getJSONArray("strategy");
//        for (int i = 0; i < jsonArray2.size(); i++) {
//            JSONObject jsonObject3 = jsonArray2.getJSONObject(i);
//            String id = jsonObject3.getString("id");
//            String desc = jsonObject3.getString("desc");
//            System.out.println(id + "\t" + desc);
//
//        }
//
//
//        // config
////        JSONArray jsonArray3 = jsonObject.getJSONObject("config").getJSONArray("result");
////        for (int i = 0; i < jsonArray3.size(); i++) {
////            JSONObject jsonObject4 = jsonArray3.getJSONObject(i);
////            String desc = jsonObject4.getString("desc");
////            System.out.println(desc);
////        }
//
//
//    }
//
//
//    @Test
//    public void test1212323() {
//        String s = "电子信息类 0.5 计算机类 0.5 通信类 0.5 机械类 0.5 电气类 0.5 自动化类 0.5";
//        System.out.println(s.replaceAll("(-?\\d+)(\\.\\d+)?", ""));
//    }
//
//
//    @Test
//    public void test12121212() {
//        String chunk = "银行|0.12839322 保险|0.209188 金融|0.07220136";
//
//        System.out.println(chunk.length());
//
//        if (chunk == null) {
//
//        }
////    def chunkStr = ""
//        List<String> chunkList = new ArrayList<>();
//        for (String s : chunk.split(" ")) {
//            String[] sArr = s.split("\\|");
//            if (sArr.length == 2) {
//                chunkList.add(sArr[0].replaceAll("[\"]", ""));
//            }
//        }
//
//        System.out.println(StringUtils.join(chunkList, " "));
//    }
//
//    @Test
//    public void test1212() {
//
//        System.out.println(" 444   6  ".trim());
//    }
//
//
////    @Test
////    public void testet111() {
////
////
////        List<Student> stuList = new ArrayList<>();
////        Student stu1 = new Student();
////        stu1.setStudentNo("0001");
////        stu1.setStudentName("张三");
////        stu1.setAge(10);
////        stuList.add(stu1);
////        Student stu2 = new Student();
////        stu2.setStudentNo("0002");
////        stu2.setStudentName("李四");
////        stu2.setAge(11);
////        stuList.add(stu2);
////
////        List<StuClass> stuClassList = new ArrayList<>();
////        StuClass stuClass1 = new StuClass();
////        stuClass1.setClassName("一年级");
////        stuClass1.setStudentNo("0001");
////        stuClassList.add(stuClass1);
////        StuClass stuClass2 = new StuClass();
////        stuClass2.setClassName("一年纪");
////        stuClass2.setStudentNo("0003");
////        stuClassList.add(stuClass2);
////
////        //筛选出没有分配班级的学生
////        List<Student> collect = stuList.stream().filter(student -> stuClassList.stream().noneMatch(stuClass -> stuClass.getStudentNo().equals(student.getStudentNo()))).collect(Collectors.toList());
////
////        System.out.println("学生学号:" + collect.get(0).getStudentNo());
////        System.out.println("学生姓名:" + collect.get(0).getStudentName());
////
////        List<String> useLessList = new ArrayList<>();
////        useLessList.add("产品经理");
////        useLessList.add("产品");
////        useLessList.add("经理");
////
////        List<String> setWordList = new ArrayList<>();
////        setWordList.add("要结果的词");
////        setWordList.add("产品");
////        setWordList.add("经理");
////
////        List<String> collect1 = setWordList.stream().filter(s -> useLessList.stream().noneMatch(u -> u.equals(s))).collect(Collectors.toList());
////        for (int i = 0; i < collect1.size(); i++) {
////            System.out.println(collect1.get(i));
////        }
////
////        Set set = new HashSet();
////
////    }
//
//    @Test
//    public void test2323() {
//        String s = "1ede3e0b6e81921f02f83e24a2c206c5|1.0 c773d4f23c03ebd31462a55f0a861922|1.0";
//        System.out.println(s.replaceAll("(?<=[|])(-?\\d+)(\\.\\d+)?", "").replaceAll("[|]", ""));
//
//    }
//
//    @Test
//    public void testfile() throws IOException {
//        String oldString = FileUtils.readFileToString(new File("rules-teacherTraining.json"), StandardCharsets.UTF_8);
//        String newString = FileUtils.readFileToString(new File("rules-teacherTraining-copy.json"), StandardCharsets.UTF_8);
//        JSONArray jsonArrayOld = JSON.parseArray(oldString);
//        JSONArray jsonArrayNew = JSON.parseArray(newString);
//        for (int i = 0; i < jsonArrayOld.size(); i++) {
//            JSONObject jsonObject = jsonArrayOld.getJSONObject(i);
//            JSONObject jsonObjectNew = jsonArrayNew.getJSONObject(i);
//            System.out.println(jsonObject.getString("id") + ":" + jsonObjectNew.getString("id"));
//        }
//    }
//
//    @Test
//    public void test1212121() {
//
//        String[] attr = {"1", "2", "3"};
//
//        System.out.println(StringUtils.join(attr, ";"));
//
//    }
//
//    @Test
//    public void testfile1() throws IOException {
//        List<String> list = FileUtils.readLines(new File("1.txt"), StandardCharsets.UTF_8);
//        for (String s : list) {
//            String s1 = s.trim();
//            if (s1.length() > 0) {
//                String[] attr = s1.split("、");
//                for (String s2 : attr) {
//                    System.out.println(s2.toLowerCase());
//                }
//            }
//        }
//    }
//
//
//    @Test
//    public void test124() {
//        String s = "124，43545，45454，45454、565656、565";
//        System.out.println(s.replaceAll("[，、]", " "));
//    }
//
//
//    @Test
//    public void test23434() {
//        String s = "aaaaaa^343434 derererer^3454545.777";
//        System.out.println(s.replaceAll("[\\^]", ""));
//    }
//
//
//    @Test
//    public void test12121() {
//
//        List<String> list = new ArrayList<>();
//        list.add("1");
//        list.add("");
//        list.add("2");
//        List list1 = list.stream().filter(t -> t.trim().length() != 0).collect(Collectors.toList());
//        System.out.println(list1.toArray());
//
//    }
//
//    @Test
//    public void test23233() {
//        StringBuilder stringBuilder = new StringBuilder();
//        stringBuilder.append(" ");
//        stringBuilder.append("    ");
//
//
//    }
//
//
//    @Test
//    public void testVector() {
//
//        String[][] strAtrr = new String[3][3];
//        String[] strA1 = {"销售:职位", "销售:职位方向"};
//        String[] strA2 = {"经理:职级", "经理:职位"};
//        String[] strA3 = {"工程师:技能", "工程师:职级", "工程师:大师级"};
//
//        strAtrr[0] = strA1;
//        strAtrr[1] = strA2;
//        strAtrr[2] = strA3;
//
//
//
//
//    }
//
//
//
//
//}
//
////class TreeNode<T> {
////
////    private T value;
////    private List<TreeNode> listTreeNode;
////
////    public TreeNode(T value) {
////        this.value = value;
////    }
////
////    public List<TreeNode> getListTreeNode() {
////        return listTreeNode;
////    }
////
////    public void setListTreeNode(List<TreeNode> listTreeNode) {
////        this.listTreeNode = listTreeNode;
////    }
////
////    public T getValue() {
////        return value;
////    }
////
////    public void setValue(T value) {
////        this.value = value;
////    }
////
////    @Override
////    public String toString() {
////        return "TreeNode{" +
////                "value=" + value +
////                ", listTreeNode=" + listTreeNode +
////                '}';
////    }
////}
////
////class Solution {
////
////
////    public void init(){
////        this.pathList = new ArrayList<>();
////    }
////
////    private List<String> pathList;
////
////    public List<String> getPathList() {
////        return pathList;
////    }
////
////    public void setPathList(List<String> pathList) {
////        this.pathList = pathList;
////    }
////
////    public static TreeNode<String> getTreeNode(String[][] strAtrr) {
////        TreeNode<String> treeNodeRoot = new TreeNode<>("0");
////
////
////        int n = strAtrr.length;
////        List<TreeNode> treeNodeListTheTemp = new ArrayList<>();
////        //n 代表有三个词
////        // 另外的一个三 是最多有多少个语义
////        for (int i = n - 1; i >= 0; i--) {
////
////            for (int j = 0; j < 3; j++) {
////
////                if (j < strAtrr[i].length) {
////
////                    List<TreeNode> treeNodesTheThree = new ArrayList<>();
////
////                    if (i < n - 1) {
////                        TreeNode<String> treeNode = new TreeNode<>(strAtrr[i][j]);
////                        treeNode.setListTreeNode(treeNodeListTheTemp);
////
////
////                        for (int k = 0; k < strAtrr[i].length; k++) {
////                            String str = strAtrr[i][k];
////                            TreeNode<String> treeNodeInner = new TreeNode<>(str);
////                            treeNodeInner.setListTreeNode(treeNodeListTheTemp);
////                            treeNodesTheThree.add(treeNodeInner);
////                        }
////
////                    }
////                    //如果是最后一行
////                    if (i == n - 1) {
////                        for (int k = 0; k < strAtrr[n - 1].length; k++) {
////                            String str = strAtrr[n - 1][k];
////                            TreeNode<String> treeNode = new TreeNode<>(str);
////                            //第一次循环这些就是最根的list
////                            treeNodesTheThree.add(treeNode);
////                        }
////                    }
////                    if (j == strAtrr[i].length - 1) {
////                        treeNodeListTheTemp = treeNodesTheThree;
////                        if (i == 0) {
////                            treeNodeRoot.setListTreeNode(treeNodeListTheTemp);
////                        }
////                    }
////
////                }
////
////            }
////
////
////        }
////        return treeNodeRoot;
////    }
////
////    public static Map getTreeMap(String[][] strAtrr) {
////        //n 代表有三个词
////        // 另外的一个三 是最多有多少个语义
////        int n = 3;
////        Map<String, TreeNode<String>> map = new HashMap<>();
////        for (int i = 0; i < n; i++) {
////            for (int j = 0; j < 3; j++) {
////                if (j < strAtrr[i].length) {
////                    List<TreeNode> listTreeNode = new ArrayList<>();
////
////                    if (i + 1 < n) {
////                        //设置ListTree
////                        for (int i1 = 0; i1 < strAtrr[i + 1].length; i1++) {
////                            String str = strAtrr[i + 1][i1];
////                            TreeNode<String> treeNode = new TreeNode<>(str);
////                            listTreeNode.add(treeNode);
////                        }
////                    }
////
////                    TreeNode<String> treeNode = new TreeNode<>(strAtrr[i][j]);
////                    treeNode.setListTreeNode(listTreeNode);
////
////                    map.put(strAtrr[i][j], treeNode);
////                }
////
////            }
////        }
////
////        return null;
////    }
////
////    /**
////     * 广度遍历
////     *
////     * @return
////     */
////    public static List<String> breadthTraversal(TreeNode<String> treeNode) {
////        List<String> list = new ArrayList<String>();
////        Queue<TreeNode<String>> queue = new LinkedList<>();
////
////        if (null == treeNode.getListTreeNode()) {
////            return list;
////        }
////
////        //先插入队列
////        queue.offer(treeNode);
////
////        while (!queue.isEmpty()) {
////            TreeNode<String> tree = queue.poll();
////
////            List<TreeNode> listInner = tree.getListTreeNode();
////            if (Objects.nonNull(listInner)) {
////                for (TreeNode node : listInner) {
////                    queue.offer(node);
////                }
////            }
////
////
////            list.add(tree.getValue());
////        }
////        return list;
////    }
////
////    /**
////     * 深度遍历
////     *
////     * @return
////     */
////    public static List<String> depthFirstTraversal(TreeNode<String> treeNode) {
////        List<String> list = new ArrayList<String>();
////        Stack<TreeNode<String>> stack = new Stack<>();
////
////        if (null == treeNode.getListTreeNode()) {
////            return list;
////        }
////
////        stack.push(treeNode);
////
////        while (!stack.isEmpty()) {
////            TreeNode<String> tree = stack.pop();
////
////            List<TreeNode> listInner = tree.getListTreeNode();
////            if (Objects.nonNull(listInner)) {
////                for (int i = listInner.size() - 1; i >= 0; i--) {
////                    TreeNode<String> treeNodeInner = listInner.get(i);
////                    stack.push(treeNodeInner);
////                }
////            }
////
////            list.add(tree.getValue());
////        }
////        return list;
////    }
////
////    public static void depthOrderTraversalWithRecursive(TreeNode<String> treeNode) {
////        depthTraversal(treeNode);
////    }
////
////    private static void depthTraversal(TreeNode<String> node) {
////        List<TreeNode> list = node.getListTreeNode();
////        System.out.println(node.getValue() + "  ");
////        if (list != null) {
////            for (TreeNode treeNode : list) {
////                depthTraversal(treeNode);
////            }
////        }
////    }
////
////    /**
////     * 返回树的层级
////     */
////    public static int resuleCentji(TreeNode<String> treeNode) {
////        return treeNode.getListTreeNode() == null ? 0 : resuleCentji(treeNode.getListTreeNode().get(0)) + 1;
////    }
////
////    /**
////     * 最后一个牛逼终极版 展示所有树的路径
////     *
////     */
////
////    private void listPath(TreeNode<String> root,String path){
////
////        if(Objects.isNull(root.getListTreeNode())){//叶子节点
////            path = path + root.getValue();
////            pathList.add(path); //将结果保存在list中
////            return;
////        }else{ //非叶子节点
////            path = path  + root.getValue() + ";";
////
////            //进行子节点的递归
////            List<TreeNode> childs = root.getListTreeNode();
////            Iterator iterator = childs.iterator();
////            while(iterator.hasNext()){
////                TreeNode treeNode = (TreeNode)iterator.next();
////                listPath(treeNode,path);
////            }
////        }
////    }
////
////    public List<String> listAllPathByRecursion(TreeNode<String> treeNode){
////        //清空路径容器
////        this.pathList.clear();
////
////        listPath(treeNode,"");
////        return this.pathList;
////    }
////
////}
//
